import Vue from 'vue'
import App from './App.vue'
import router from './router'
//引入Element-ui
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
//引入初始样式和字体图标
import './assets/css/normalize.css'
import './assets/fonts/iconfont.css'
import './assets/css/index.less'
//引入全局的公共组件
import './utils/component'

//引入全局挂载的组件
import './utils/components'
//引入全局的时间过滤器
import './utils/filters'

//按需导入
import echarts from './utils/echartsUI'
Vue.prototype.$echarts = echarts

Vue.use(ElementUI)
Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
